<?php
namespace Catalog\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ProductImage
 *
 * @ORM\Table(name="product_image")
 * @ORM\Entity
 */
class ProductImage
{
    /**
     * @var integer
     *
     * @ORM\Column(name="product_image_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="SEQUENCE")
     * @ORM\SequenceGenerator(sequenceName="product_image_id_sequence", allocationSize=1, initialValue=1)
     */
    private $productImageId;

    /**
     * @var string
     *
     * @ORM\Column(name="language", type="string", nullable=false)
     */
    private $language;

    /**
     * @var string
     *
     * @ORM\Column(name="type", type="string", nullable=false)
     */
    private $type;

    /**
     * @var string
     *
     * @ORM\Column(name="url", type="string", length=128, nullable=false)
     */
    private $url;

    /**
     * @var integer
     * 
     * @ORM\Column(name="product_id", type="integer", nullable=false)
     */
    private $productId;

    /**
     * 
     * @return number
     */
    public function getId() 
    {
    	return $this->productImageId;
    }
    
    /**
     * @return string
     */
    public function getType() 
    {
    	return $this->type;
    }

    /**
     * @return string
     */
    public function getLanguage() 
    {
    	return $this->language;
    }
    
    /**
     * @return string
     */
    public function getUrl()
    {
    	return $this->url;
    }
    
    /**
     * @return number
     */
    public function getProductId()
    {
    	return $this->productId;
    }
}
